<template>
  <el-container class="container">
    <el-header style="text-align: center">
      <span class="ltitle"> MBTI </span>
    </el-header>
    <el-menu
      :default-active="activeIndex2"
      class="el-menu-demo"
      mode="horizontal"
      background-color="#7ac6f5"
      text-color="#fff"
      active-text-color="#ffd04b"
      router
    >
      <el-menu-item index="/ManageHome/ManageStudent">学生信息管理</el-menu-item>
      <el-menu-item index="/ManageHome/ManageTest"
        >测试结果管理</el-menu-item>
      <el-menu-item index="/">返回管理员登录</el-menu-item>
    </el-menu>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
export default {
  name: "ManageHome",
  data() {
    return {
      activeIndex2: "/ManageHome/ManageStudent",
    };
  },
};
</script>

<style scoped>
.container {
  height: 1000px;
}
.el-header {
  background-color: #7ac6f5;
  justify-content: space-between;
  align-items: center;
  padding-left: 0;
}

.ltitle {
  font-size: 30px;
  color: #ffffff;
  font-weight: 1000;
  line-height: 60px;
}
.el-container {
  background-color: #e0f1fc;
}
</style>
